﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace QuanLyPhongMach.Model
{
    [Table (Name="LoaiDaiLy")]
    public class CLoaiDaiLy
    {
        #region Properties
        [Column (Name="MaLoaiDaiLy",IsPrimaryKey=true)]
        public ulong MaLoaiDaiLy { get; set; }

        [Column(Name = "TenLoaiDaiLy")]
        public string TenLoaiDaiLy { get; set; }

        [Column(Name = "NoDoiTa")]
        public ulong NoToiDa { get; set; }
        #endregion

        #region Constructor
        public CLoaiDaiLy()
        {
            TenLoaiDaiLy = "";
            NoToiDa = 0;
        }

        public CLoaiDaiLy(string tenloaidaily, ulong notoida)
        {
            this.TenLoaiDaiLy = tenloaidaily;
            this.NoToiDa = notoida;
        }
        #endregion
    }
}
